#include <iostream>
#include <string>
#include <algorithm>
int OpenChannel(std::string address)
{
    int sep = address.find(':');
    if(sep < 0)
    {
        std::cout << "invalid address" << std::endl;
    }
    std::string ip = address.substr(0, sep);
    int port = stoi(address.substr(sep + 1, address.size()));
    std::cout << ip << ":" << port << std::endl;
    return 0;
}

int main()
{
    OpenChannel("11.100:8000");
    return 0;
}